package fr.mystnihon.game.framework.impl.view;

import android.graphics.Canvas;
import android.view.SurfaceHolder;

public class MainThread extends RenderThread<AndroidFastRenderView> {

	public MainThread(SurfaceHolder surfaceHolder,
			AndroidFastRenderView gamePanel) {
		super(surfaceHolder, gamePanel);
		this.surfaceHolder = surfaceHolder;
		this.gamePanel = gamePanel;
	}

	@Override
	public void update(long elepsedTime) {
		gamePanel.update(elepsedTime);

	}

	@Override
	public void render(Canvas canvas) {
		gamePanel.render(canvas);

	}

}